package com.itheima.branch;

public class if判断格式2 {
    public static void main(String[] args) {
        //格式2 if(条件表达式){代码}else{否则}
        //发红包
        double  money = 5999;
        //发送一个1314的红包
        if(money >= 500){
            System.out.println("您当前发送红包成功~~~");
        }else{
            System.out.println("零钱余额不足");
        }

    }
}
